//
//  ViewController.m
//  14.First Full Game
//
//  Created by iD Student on 7/8/13.
//  Copyright (c) 2013 iD Student. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    Enemy *newEnemy = [[Enemy alloc]init];
    UIImageView *image = [[UIImageView alloc]initWithFrame:CGRectMake(50, 50, 50, 50)];
    image.image = [UIImage imageNamed:@"ball1.png"];
    [view addSubview:image];
    
    [view addSubview:[newEnemy setX:50 setY:50 setImage:@"ball1.png"]];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
